home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: netcom.com!marnold
- From: marnold@netcom.com (Matt Arnold)
- Subject: Re: Turbo C++ won't write 0Ah to file!?!?
- Message-ID: <marnoldDp66tr.Atz@netcom.com>
- Organization: NETCOM On-line Communication Services (408 261-4700 guest)
- References: <4jnpcg$nis@tribune.concentric.net>
- Date: Mon, 1 Apr 1996 06:17:51 GMT
- Sender: marnold@netcom17.netcom.com
-
- mikolaj@concentric.com writes:
-
- >Turbo C++ 3.0 won't write character 0Ah to a file, instead it writes 0Dh.
- >What's the problem? Is this a bug?
- >Thanks, Mike.
-
- Unless you give us some sample code showing exactly what you are doing,
- "won't write character 0AHh" doesn't give a whole bunch to go on. For
- example, what function are you using to "write characters"?
-
- Off the top of my head, I might suggest making sure you have the file
- open in the right mode. The behavior of file I/O can be different
- depending on whether you've opened a file in "text" or "binary" mode,
- for instance.
-
- Regards,
- -------------------------------------------------------------------------
- Matt Arnold | | ||| | |||| | | | || ||
- marnold@netcom.com | | ||| | |||| | | | || ||
- Boston, MA | 0 | ||| | |||| | | | || ||
- 617.389.7384 (h) 617.576.2760 (w) | | ||| | |||| | | | || ||
- C++, MIDI, Win32/95 developer | | ||| 4 3 1 0 8 3 || ||
- -------------------------------------------------------------------------
-